package com.mingqijia.gassafety.authority.api.req.manager;

import com.mingqijia.gassafety.shared.cqrs.PageableReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * 查询$请求
 * @author Damon S.
 * @version v0.2
 * @date 2021-06-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "查询管理员请求")
public class QueryManagerReqDTO extends PageableReq implements Serializable {

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "账号")
    private String username;

    @ApiModelProperty(value = "状态[1激活，0冻结]")
    private Integer state;

    @ApiModelProperty(value = "组织")
    private List<String> hierarchy;

    @ApiModelProperty(value = "部门")
    private List<String> department;

    @ApiModelProperty(value = "角色")
    private List<String> roleId;

    @ApiModelProperty(value = "手机号码")
    private String phone;

}
